package cn.learn.domain.task.repository;

import cn.learn.domain.task.model.entity.TaskEntity;

import java.util.List;

/**
 * @author Sun
 * @Desc 任务仓储的接口
 * @date 2024-11-17-15:17
 */

public interface ITaskRepository {
    List<TaskEntity> queryNoSendMessageTaskList();

    void sendMessage(TaskEntity taskEntity);

    void updateTaskSendMessageCompleted(String userId, String messageId);

    void updateTaskSendMessageFail(String userId, String messageId);
}
